/*  
=========================
Rumah Bakti Dato' Harun
=========================
*/


/* normalize.css v2.1.2 | MIT License | git.io/normalize
    (truncated for example in book)
---------------------------------------------------------------- */

/* ::: HTML5 display definitions ::: */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

/* ::: Base ::: */
/**
 * Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* ::: Links ::: */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

/* ::: Typography ::: */
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/* ::: Embedded content ::: */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 1;
}
/* -- end of abridged normalize -- */


/* WEB ICON FONT
  (the social icons that appear
  in the upper-right corner)
------------------------------------------ */
@font-face {
  font-family: 'Social Icons';
  src: url("font/socialico-webfont.eot");
  src: url("font/socialico-webfont.eot?#iefix") format("embedded-opentype"), 
        url("font/socialico-webfont.woff") format("woff"), 
        url("font/socialico-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


/* GENERAL (APPLIED TO ELEMENTS)
------------------------------------------ */
body {
  font: 100%/1.2 Open Sans;
}

h1 {
  color: #024757;
  font-family: 'Lato', sans-serif;
  font-size: 3.25em;
  font-weight: 275;
  letter-spacing: -2px;
  line-height: .975;
}

.about h2,
.mod h2,
.nav-main a {
  font-family: 'Open Sans', 
  font-weight: 700;
  text-transform: uppercase;
}

.about h2,
.mod h2 {
  font-size: .875em; /* 15px/16px */
}

ul,
ol {
  list-style: none;
}

a {
  color: #1162a4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.more:after {
  content: ' »';
}

img {
  border: 0;
}


/* CONTAINERS
------------------------------------------ */
.page {
  margin: 0 auto;
  width: 1024px;
}

.container {
  background: url(../img/bg.png) repeat-y 629px 0;
  padding-bottom: 1.9375em;
}

main {
  float: left;
  width: 600px;
}

.sidebar {
  float: right;
  margin-top: 1.875em;
  width: 300px;
}


/* MASTHEAD
------------------------------------------ */
.masthead {
  padding-top: 10px;
  position: relative;
}

.logo {
  font-size: 10px;
  line-height: 1;
  margin-bottom: -8px;
  margin-top: 0;
  text-align: left;
}

/* ::: Main Navigation ::: */
.nav-main {
  border-bottom: 1px solid #c7c7c8;
  border-top: 5px solid #00a2ad;
  margin-bottom: 0;
  padding: .45em 0 .5em;
}

.nav-main li {
  border-left: 1px solid #c8c8c8;
  display: inline-block;
  text-align: left;
}

.nav-main li:first-child {
  border-left: none;
}

.nav-main li:last-child a {
  padding-right: 0;
}

.nav-main a {
  color: #292929;
  display: inline-block;
  font-size: 1.125em; /* 18px/16px */
  padding: .5em 1.15em .5em 1.4em;
}

.nav-main a:hover {
  color: #01a2aa;
  text-decoration: none;
}

.nav-main .current-page,
.nav-main .current-page:hover {
  color: #f6aa00;
  cursor: default;
}

/* ::: Social Sites Icons ::: */
.social-sites {
  margin: 0;
  padding: 0;
  position: absolute;
  right: -3px;
  top: 41px;
}

.social-sites li {
  display: inline;
  margin-left: -1px;
}

.social-sites a {
  color: #00a2ad;
  font-family: 'Social Icons', sans-serif;
  font-size: 46px;
  line-height: .8;
  vertical-align: middle;
}

.social-sites a:hover {
  color: #00a2ad;
  text-decoration: none;
}


/* MAIN CONTENT
------------------------------------------ */
main > .post:first-child > h1 {
  margin-top: 0.904em;
}

h1 {
  margin-bottom: .4125em;
}

.post-photo {
  float: left;
  margin-bottom: 2px;
  margin-right: 22px;
  max-width: 61.667%;
}

.post-blurb p {
  color: #2e3030;
  font-size: 1em;
  line-height: 1.4;
}

/* ::: Blog Post Footer ::: */

h2 {
  color: #f8a001;
  font-family: 'Open Sans';
  font-weight: 100;
  text-transform: uppercase;
  }
  
.post-footer {
  border-bottom: 1px solid #dbdbdb;
  border-top: 1px solid #dbdbdb;
  padding-bottom: .7em;
  padding-top: .7em;
}

.post-footer time:before {
  content: '•  ';
}

.post-footer a {
  font-weight: normal;
}

.footer p {
  color: #3a3a3a;
  font-family: arial, helvetica, sans-serif;
  font-size: 0.688em;
}

.footer p small {
  font-size: inherit;
}

/* ::: Pagination Links Below Blog Posts ::: */
.pagination {
  margin: 45px 0 0;
  padding: 0;
}

.pagination li {
  display: inline-block;
  font: 0.875em arial, helvetica, sans-serif;
  margin-right: 0.25em;
}


/* SIDEBAR
------------------------------------------ */
.mod h2 {
  border-bottom: 1px solid #dbdbdb;
  margin-top: 2.571em;
  padding-bottom: .75em;
}

/* ::: Hadith ::: */
.about {
  background: #2b2b2b;
  padding: 0.313em 0.625em 0.625em;
}

.about img {
  border: 5px solid #bebebe;
}

.about h2,
.about p {
  color: #dadada;
}

.about p {
  font-size: 0.813em;
  line-height: 1.5;
}

.map {
  margin: 1.438em 0 0.813em;
}


/* FOOTER
------------------------------------------ */
footer[role="contentinfo"] {
  border-top: 1px solid #cacbcb;
  clear:both;
}


/* html5boilerplate.com Clearfix
--------------------------------- */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1;
}
